<?php
if ($this->entity->randomlistid != 0) {
    $this->entity->randoms = new Led_Entity_Collection(0, null, 0, 2, $this->entity->randomlistid, 55);
    $random = mt_rand(0, $this->entity->randoms->count() - 1);
} else {
    $this->entity->randoms = null;
}

if ($this->entity->randomlistid) {
    if ($this->entity->randoms) {
        
        print Led_Entity_Renderer::getInstance()->render($this->entity->randoms[$random]);
    }
}
